class Admin {
    /**
     * 主键
     */
    adminId: number | null = null;

    /**
     * 性别
     */
    gender: number | null = null;

    /**
     * 出生年月
     */
    birthDate: string | null = null;

    /**
     * 身份证号
     */
    idNumber: string | null = null;

    /**
     * 姓名
     */
    name: string | null = null;

    /**
     * 联系方式
     */
    phone: string | null = null;

    /**
     * 创建时间
     */
    createdTime: string | null = null;

    constructor(adminId?: number, gender?: number, birthDate?: string, idNumber?: string,
                name?: string, phone?: string, createdTime?: string) {
        this.adminId = adminId ?? null;
        this.gender = gender ?? null;
        this.birthDate = birthDate ?? null;
        this.idNumber = idNumber ?? null;
        this.name = name ?? null;
        this.phone = phone ?? null;
        this.createdTime = createdTime ?? null;
    }
}
export default Admin;